package com.cgnpc.scp.run.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;
import java.util.List;

@TableName("tbl_run_market_review")
public class MarketReview extends BaseEntity {
    private String id;

    private String marketinfoId;

    private Date reviewDate;

    private String reviewAdress;

    @TableField(exist = false)
    private List<MarketReviewPeople> reviewPeopleList;

    private Integer reviewComments;

    private String reviewFileId;

    private String reviewCommentsNote;

    private String reviewAppendMessage;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getMarketinfoId() {
        return marketinfoId;
    }

    public void setMarketinfoId(String marketinfoId) {
        this.marketinfoId = marketinfoId == null ? null : marketinfoId.trim();
    }

    public Date getReviewDate() {
        return DateUtil.cloneNewDate(reviewDate);
    }

    public void setReviewDate(Date reviewDate) {
        this.reviewDate = DateUtil.cloneNewDate(reviewDate);
    }

    public String getReviewAdress() {
        return reviewAdress;
    }

    public void setReviewAdress(String reviewAdress) {
        this.reviewAdress = reviewAdress == null ? null : reviewAdress.trim();
    }

    public List<MarketReviewPeople> getReviewPeopleList() {
        return reviewPeopleList;
    }

    public void setReviewPeopleList(List<MarketReviewPeople> reviewPeopleList) {
        this.reviewPeopleList = reviewPeopleList;
    }

    public Integer getReviewComments() {
        return reviewComments;
    }

    public void setReviewComments(Integer reviewComments) {
        this.reviewComments = reviewComments;
    }

    public String getReviewFileId() {
        return reviewFileId;
    }

    public void setReviewFileId(String reviewFileId) {
        this.reviewFileId = reviewFileId == null ? null : reviewFileId.trim();
    }

    public String getReviewCommentsNote() {
        return reviewCommentsNote;
    }

    public void setReviewCommentsNote(String reviewCommentsNote) {
        this.reviewCommentsNote = reviewCommentsNote == null ? null : reviewCommentsNote.trim();
    }

    public String getReviewAppendMessage() {
        return reviewAppendMessage;
    }

    public void setReviewAppendMessage(String reviewAppendMessage) {
        this.reviewAppendMessage = reviewAppendMessage == null ? null : reviewAppendMessage.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }
    @TableField(exist = false)
    private String reviewFileName;

    public String getReviewFileName() {
        return reviewFileName;
    }

    public void setReviewFileName(String reviewFileName) {
        this.reviewFileName = reviewFileName;
    }
}